# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=stegcracker
_pkgname=StegCracker
pkgver=2.1.0
pkgrel=5
pkgdesc='Steganography brute-force utility to uncover hidden data inside files.'
arch=('any')
groups=('blackarch' 'blackarch-stego')
url='https://github.com/Paradoxis/StegCracker/tags'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://github.com/Paradoxis/StegCracker/archive/v$pkgver.tar.gz")
sha512sums=('a0a45e36a49bec50be44cc7189a7d5c2255574e3b867a6925f8ef124e5a6a0cb813758a13870688d2fa581000ccea4b3bb076fd833abfa814dd65f6875d1f26e')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

